package com.gary.security.model;

import java.io.Serializable;

import java.util.HashSet;
import java.util.Set;

import com.gary.core.model.BaseModel;


/**
 * acl sid.
 *
 *
 */
public class AclSidInfo extends BaseModel implements Serializable {
    /** * serial. */
    static final long serialVersionUID = 0L;

    /** * principal. */
    private Integer principal;

    /** * sid. */
    private String sid;

    /** * objectIdentites. */
    private Set<AclObjectIdentityInfo> objectIdentities = new HashSet<AclObjectIdentityInfo>(0);

    /** * entries. */
    private Set<AclEntryInfo> entries = new HashSet<AclEntryInfo>(0);

    /** * @return principal. */
    public Integer getPrincipal() {
        return principal;
    }

    /** * @param principal Integer. */
    public void setPrincipal(Integer principal) {
        this.principal = principal;
    }

    /** * @return sid. */
    public String getSid() {
        return sid;
    }

    /** * @param sid String. */
    public void setSid(String sid) {
        this.sid = sid;
    }

    /** * @return object identities. */
    public Set<AclObjectIdentityInfo> getObjectIdentities() {
        return objectIdentities;
    }

    /** * @param objectIdentities Set. */
    public void setObjectIdentities(
        Set<AclObjectIdentityInfo> objectIdentities) {
        this.objectIdentities = objectIdentities;
    }

    /** * @return entries. */
    public Set<AclEntryInfo> getEntries() {
        return entries;
    }

    /** * @param entries Set. */
    public void setEntries(Set<AclEntryInfo> entries) {
        this.entries = entries;
    }
}
